package com.feng.service;

import java.util.List;

import com.feng.entity.Journal;
import com.feng.entity.JournalDetail;
import com.feng.util.PageUtil;

public interface IJournalService {

	
	List<Journal> findAll() throws Exception;
	List<Journal> findWorkJournals() throws Exception;
	List<Journal> findJournalsByType(String type);
	PageUtil<Journal> findJournalsByTypePage(String type, Integer pageNum);
	List<Journal> findByWhere(Journal vo) throws Exception;
	Journal findJournalById(String id) throws Exception;
	List<JournalDetail> findJournalDetailsByJournalId(String id) throws Exception;
	int saveJournal(Journal journal);
	int deleteJournalInfo(String id);
	int saveJournalDetail(JournalDetail journalDetail)throws Exception;
	int deleteJournalDetail(String id);
	
}
